<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:m="http://www.ol4jsf.org"
	xmlns:a4j="http://richfaces.org/a4j">

	<style>
		.noMaskClass .rich-mpnl-mask-div {
			display:none;
		}
		.contentRights {
			width:100%;
			overflow:auto;
		}
	</style>
	
	<h:panelGroup id="panelRRR">
		<rich:modalPanel id="rightsPanelToolbox" width="530" height="565" styleClass="noMaskClass" zindex="10000">
			<f:facet name="header">
				<h:outputText value="#{messages['dataentry.rights_toolbox_desc']}"/>
			</f:facet>
			<f:facet name="controls">
				<h:panelGroup>
					<h:graphicImage value="/img/close.png" styleClass="hidelink"
					onclick="#{rich:component('rightsPanelToolbox')}.hide()"/>
				</h:panelGroup>
			</f:facet>
			
			<h:panelGroup id="panelRights">
				<ui:include src="./includes/rights.xhtml" />
			</h:panelGroup>
		</rich:modalPanel>
		
		<rich:modalPanel id="restrictionsPanelToolbox" width="530" height="565" styleClass="noMaskClass" zindex="10000">
			<f:facet name="header">
				<h:outputText value="#{messages['dataentry.restrictions_toolbox_desc']}"/>
			</f:facet>
			<f:facet name="controls">
				<h:panelGroup>
					<h:graphicImage value="/img/close.png" styleClass="hidelink"
					onclick="#{rich:component('restrictionsPanelToolbox')}.hide()"/>
				</h:panelGroup>
			</f:facet>
			
			<h:panelGroup id="panelRestrictions">
				<ui:include src="./includes/restrictions.xhtml" />
			</h:panelGroup>
		</rich:modalPanel>
		
		
		<rich:modalPanel id="responsibilitiesPanelToolbox" width="530" height="565" styleClass="noMaskClass" zindex="10000">
			<f:facet name="header">
				<h:outputText value="#{messages['dataentry.responsibilities_toolbox_desc']}"/>
			</f:facet>
			<f:facet name="controls">
				<h:panelGroup>
					<h:graphicImage value="/img/close.png" styleClass="hidelink"
					onclick="#{rich:component('responsibilitiesPanelToolbox')}.hide()"/>
				</h:panelGroup>
			</f:facet>
			
			<h:panelGroup id="panelResponsibilities">
				<ui:include src="./includes/responsibilities.xhtml" />
			</h:panelGroup>
		</rich:modalPanel>
	</h:panelGroup>
</ui:composition>
